/************************************************************************************
* Title: Figure_2.do
* Created by: Jac M. Larner
* Created on: 14/06/24
* Last modified on: 14/06/24
* Last modified by: Jac Larner
* Purpose: This .do file creates Figure 2 for the paper "Vulnerability Appeals in the COVID-19 Pandemic: Insights from a National Survey Experiment" by Jac M. Larner and Joshua R. Thorp

*************************************************************************************/


import delimited "covid_data_21.csv"
gen date2 = date(date, "DMY")

twoway area cases date2, ytitle("New cases (daily)") xtitle("Date")
graph save "Graph" "cases.gph", replace

twoway area deaths date2, ytitle("COVID -19 related deaths (daily)") xtitle("Date")
graph save "Graph" "deaths.gph", replace

grc1leg "cases.gph" "deaths.gph", col(1)
